/*
 * TaggedSentence.java
 * 
 * Copyright 2012 Xinli Jia
 * 
 * A sentence tagged key expressions data model
 */

package ie.dit.comp.lukejia.fyp.model;

import java.util.ArrayList;
import java.util.List;

public class TaggedSentence {
	private List<String> tagWord = new ArrayList<String>();
	private String sentence;
	private double score;

	public enum TAG_TYPE {
		N, ADJ, DEF
	};

	private TAG_TYPE type;

	public TaggedSentence(List<String> tag, String s, double scr, TAG_TYPE t) {
		this.tagWord = tag;
		this.sentence = s;
		this.score = scr;
		this.type = t;
	}

	public TaggedSentence(List<String> tag, String s, double scr) {
		this.tagWord = tag;
		this.sentence = s;
		this.score = scr;
		this.type = TAG_TYPE.DEF;
	}

	public List<String> getTagWord() {
		return tagWord;
	}

	public void setTagWord(List<String> tagWord) {
		this.tagWord = tagWord;
	}

	public String getSentence() {
		return sentence;
	}

	public void setSentence(String sentence) {
		this.sentence = sentence;
	}

	public TAG_TYPE getType() {
		return type;
	}

	public void setType(TAG_TYPE type) {
		this.type = type;
	}

	public double getScore() {
		return score;
	}

	public void setScore(double score) {
		this.score = score;
	}

}
